package com.fxd.crm.mapper;

import com.fxd.crm.model.CourseOrder;
import com.fxd.crm.model.teach;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @auther fuxudong
 * @date 2021/3/28 - 18:13
 */
@Mapper
public interface teachMapper {
    int findCountByMap(Map<String, Object> map);

    List<teach> findListByMap(Map<String, Object> map);

    void insert(teach teach);

    teach findByOrderId(Integer teach_id);

    void deleteByOrderId(Integer teach_id);

    void update(teach teach);
}
